
	
/****** Object:  Stored Procedure [dbo].FriendsInsert    Script Date: Monday, July 27, 2009 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spFriendsInsert]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[spFriendsInsert]
GO

			
	
	

/******************************************************************************
**		File: 
**		Name: [dbo].spFriendsInsert
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 7/27/2009 4:18:20 PM
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [dbo].spFriendsInsert
	@UserId int,
	@FriendId int,
	@Allow bit
AS

-- THIS STORED PROCEDURE NEEDS TO BE MANUALLY COMPLETED
-- MULITPLE PRIMARY KEY MEMBERS OR NON-GUID/INT PRIMARY KEY

INSERT INTO [dbo].[Friends] (
	[UserId],
	[FriendId],
	[Allow]
) VALUES (
	@UserId,
	@FriendId,
	@Allow
)

GO
	

